﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CouplingBeamProject
{
    //材料
    class Material
    {
        /// <summary>
        /// 弹性模量
        /// </summary>
        private double E { set; get; }

        /// <summary>
        /// 泊松比
        /// </summary>
        private double PossionRatio { set; get; }

        /// <summary>
        /// 获取弹性模量
        /// </summary>
        /// <returns></returns>
        public double GetE()
        {
            return this.E;
        }

        /// <summary>
        /// 获取泊松比
        /// </summary>
        /// <returns></returns>
        public double GetPossionRatio()
        {
            return this.PossionRatio;
        }
        /// <summary>
        /// 构造函数
        /// </summary>
        public Material(double e, double possionratio)
        {
            this.E = e;
            this.PossionRatio = possionratio;
        }
    }
}
